package com.ht.pms.ui.controller.importLog;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author:喻尊龙
 * @date: 2018/4/25
 */
@Controller
@RequestMapping("/importLog")
public class ImportLogController {

    @RequestMapping("/info")
    public String info(ModelMap map, @RequestParam("templateCode") String templateCode, @RequestParam("fileId") String fileId,@RequestParam("batchCode") String batchCode){
        map.addAttribute("templateCode",templateCode);
        map.addAttribute("fileId",fileId);
        map.addAttribute("batchCode",batchCode);
        return "/importLog/importLog";
    }
}
